-
Notifications
You must be signed in to change notification settings - Fork 2.8k
PKCS#7: add support for authenticated attributes and multiple certificates #10232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
PKCS#7: add support for authenticated attributes and multiple certificates #10232
Conversation
Signed-off-by: Jean-Baptiste Boric <[email protected]>
Signed-off-by: Jean-Baptiste Boric <[email protected]>
Signed-off-by: Jean-Baptiste Boric <[email protected]>
Signed-off-by: Jean-Baptiste Boric <[email protected]>
Signed-off-by: Jean-Baptiste Boric <[email protected]>
Signed-off-by: Jean-Baptiste Boric <[email protected]>
aebb433 to
ce8a052
Compare
|
Thank you very much for this contribution. The last commit is missing the "Signed-off-by:..." line. Otherwise, why did you mark it as a draft? |
Signed-off-by: Jean-Baptiste Boric <[email protected]>
ce8a052 to
307b02c
Compare
This is my first time contributing to this project, so I've erred on the side of caution while following the guidelines for contributions. Aside from that, the code should be in good enough shape for a review. I've amended the last commit with the sign-off. |
|
Thanks for the contribution, I have attempted to add this functionality a while ago (https://github.com/Mbed-TLS/mbedtls/pulls/beni-sandu), but it didn't make it in, so maybe your version will (since I haven't rebased since then). I am interested in this, so will have a closer look at the code when I get the chance. |
Description
This PR adds support for parsing and verifying PKCS#7 files with the following characteristics:
Note: the use-case spurring this development was verifying PKCS#7 signatures provided by an existing code signing server. This is the minimum set of modifications needed to handle the certificates produced by that server as-is.
PR checklist